package com.icloud.gate;


import com.icloud.auth.client.EnableAceAuthClient;
import com.icloud.gate.utils.DBLog;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.scheduling.annotation.EnableScheduling;


@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients({"com.icloud.auth.client.feign","com.icloud.gate.feign"})
@EnableZuulProxy
@EnableScheduling
@EnableAceAuthClient
public class GateServerBootstrap {
    public static void main(String[] args) {
        DBLog.getInstance().start();
        SpringApplication.run(GateServerBootstrap.class, args);
    }

}
